@extends('admin.layouts.wap_simple')
@section('title','小程序注册企业模版')
@section('content')

<div class="mview-card-content">
    @forelse($templateBeians as $templateBeian)
    <div class="mview-card-item">
        <div class="mview-header">
            <div class="left">
                <h5>{{ $templateBeian->remark }}</h5>
                <h3>{{ $templateBeian->certificate_number }}</h3>
            </div>
        </div>
        <div class="mview-footer">
            <p>负责人: {{ $templateBeian->principal_info }}</p>
            <div class="mview-btn-group">
                <a href="/admin/template/beian_update/{{ $templateBeian->id }}" class="mview-btn">企业备案模板详情</a>
            </div>
        </div>
    </div>
    @empty
    <div class="mview-image-card-item">
        <div class="mview-header">
            <div class="left">
                <h3>当前暂企业模板</h3>
                <h5>添加模板后后续可以快速选择小程序备案信息；无需重复填写备案信息。</h5>
            </div>
        </div>
    </div>
    @endforelse
</div>
<a href="/admin/template/beian_add" class="m-btn-bottom m-bg-primary">添加新的备案信息模版</a>
@endsection
